package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by whyang on 2017/06/22.
 */

@Entity
@Table(schema = "OE", name = "INVENTORIES")
public class Inventories {

    @Id
    @Column(name = "PRODUCT_ID")
    private Integer productId;

    @Column(name = "WAREHOUSE_ID")
    private Integer warehouseId;

    @Column(name = "QUANTITY_ON_HAND")
    private Integer quantityOnHand;

    public void setProductId(Integer productId){
        this.productId = productId;
    }
    public Integer getProductId(){
        return this.productId;
    }

    public void setWarehouseId(Integer warehouseId){
        this.warehouseId = warehouseId;
    }
    public Integer getWarehouseId(){
        return this.warehouseId;
    }

    public void setQuantityOnHand(Integer quantityOnHand){
        this.quantityOnHand = quantityOnHand;
    }
    public Integer getQuantityOnHand(){
        return this.quantityOnHand;
    }

}
